﻿#region 命名空间

using System;
using System.Collections;
using System.Data;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.Web.SessionState;
using WinnerCMS.BLL;

#endregion

namespace WinnerCMS.WebUI.Soft
{
    /// <summary>
    ///     $codebehindclassname$ 的摘要说明
    /// </summary>
    [WebService(Namespace = "http://tempuri.org/"), WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    public class SoftDownLoads : IHttpHandler, IReadOnlySessionState
    {
        public void ProcessRequest(HttpContext context)
        {
            new SoftManage().DownloadThisSoft(int.Parse(context.Request["SoftID"]), int.Parse(context.Request["ID"]));
        }

        public bool IsReusable
        {
            get { return false; }
        }
    }
}